package com.igeekhome.wzgl.service.impl;

import com.igeekhome.wzgl.entity.MaterialsledgerEntity;
import com.igeekhome.wzgl.mapper.IMaterialsledgeMapper;
import com.igeekhome.wzgl.service.IMaterialsledge;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MaterialsledgeImpl implements IMaterialsledge {
@Autowired

    public IMaterialsledgeMapper iMaterialsledgeMapper;
    @Override
    public List<MaterialsledgerEntity> brand(String material_brand) {
        return iMaterialsledgeMapper.brand(material_brand);
    }

    @Override
    public List<MaterialsledgerEntity> type(String material_type) {
        return iMaterialsledgeMapper.type(material_type);
    }
    @Override
    public List<MaterialsledgerEntity> model(String material_model) {
        return iMaterialsledgeMapper.model(material_model);
    }

    @Override
    public List<MaterialsledgerEntity> page() {
        return iMaterialsledgeMapper.page();
    }

    @Override
    public List<MaterialsledgerEntity> select(int id) {
        return iMaterialsledgeMapper.select(id);
    }
}
